package com.service;

import com.domain.Gallery;
import com.domain.GalleryImg;

import java.util.List;

public interface GalleryService {

    //查找置顶画廊数据
    public List<Gallery> findTopGallery();
    //获取gallery数据
    public List<Gallery> findAllGallery();
    //获取对应gallery的img数据
    public List<GalleryImg> findGalleryImg(int gid);
    //删除img
    void deleteGalleryImg(int id);
    //修改gallery描述信息
    int updateGalleryMsg(Gallery gallery);
    //删除gallery
    void deleteGallery(int g_id);
    //上传img
    void addGalImg(GalleryImg galleryImg);
    //新建gallery
    int addGallery(Gallery gallery);
}
